wget -c https://codeload.github.com/<repo username>/<repo name>/zip/refs/heads/main -O <output dir>

# example
wget -c https://codeload.github.com/AvaloniaUI/Avalonia.Samples/zip/refs/heads/main -O Samples
